package com.xgst.lib.http

sealed class ApiResult<out T> {
    data class Success<out T>(val data:T): ApiResult<T>()
    data class Error(val errorCode:Int,val errorMessage:String): ApiResult<Nothing>()
}


